home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_12.lha / 8_12 / makefile < prev    next >
Makefile  |  1993-08-08  |  1KB  |  43 lines

  1. C= CC -I. -I../../CC
  2. FLAGS=
  3.  
  4. ll: tst12 tst3 tst4
  5.  
  6. st12: tst12.o all.o memmove.o
  7. $(CC) tst12.o all.o -o tst12 memmove.o
  8.  
  9. st3: tst3.o all.o memmove.o
  10. $(CC) tst3.o all.o -o tst3 memmove.o
  11.  
  12. st4: tst4.o all.o memmove.o
  13. $(CC) tst4.o all.o -o tst4 memmove.o
  14.  
  15. emmove.o: memmove.c
  16. $(CC) -c memmove.c
  17.  
  18. ll.o: all.c pat.h 8_12a.h 8_12a1.c 8_12a2.c 8_12a3.c 8_12a4.c 8_12a5.c 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h 8_12b5.c
  19. $(CC) $(CFLAGS) -c all.c
  20.  
  21. st12.o: tst12.c 8_12a.h 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h pat.h
  22. $(CC) $(CFLAGS) -c tst12.c
  23.  
  24. st3.o: tst3.c 8_12a.h 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h pat.h
  25. $(CC) $(CFLAGS) -c tst3.c
  26.  
  27. st4.o: tst4.c 8_12a.h 8_12b.h 8_12b1.h 8_12b2.h 8_12b3.h 8_12b4.h pat.h
  28. $(CC) $(CFLAGS) -c tst4.c
  29.  
  30. UT= tst12.out tst3.out tst4.out
  31. MP= tst12.cmp tst3.cmp tst4.cmp
  32.  
  33. st12.out: tst12 ;    tst12 < pat.input > tst12.out
  34. st3.out: tst3 ;    tst3 < pat3.input > tst3.out
  35. st4.out: tst4 ;    tst4 < pat4.input > tst4.out
  36.  
  37. est: all $(OUT) $(CMP)
  38. cat pat.input
  39. cmp tst12.out tst12.cmp
  40. cmp tst3.out tst3.cmp
  41. cmp tst4.out tst4.cmp
  42. @echo test done
  43.